﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Owl.Questionnarie.Entities;
using Owl.Questionnarie.DAL;

namespace Owl.Questionnarie.BLL
{
    public class UserBLL
    {
        public UsersData CreateUser(string email)
        {
            return new UserDAL().CreateUser(email);
        }

        public UsersData GetUser(string email)
        {
            return new UserDAL().GetUser(email);
        }

        public void UpdateUser(UsersData user)
        {
            new UserDAL().UpdateUser(user);
        }

        public bool ValidateUser(string email)
        {
            return new UserDAL().ValidateUser(email); 
        }
    }
}
